package com.djq.hhc.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.djq.hhc.model.shop.ShopGoods;
import com.djq.hhc.model.shop.ShopOrder;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: dadd7
 * @Date: 2023/04/08/下午 8:09
 * @Description:
 */

@Data
public class OrderDto {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id; //orderId
    private String goodsName;
    private String pic;
    private String details;
    private Integer price;
    private Date createTime;
    private Date updateTime;
}
